/* CodeBuilder代码生成器 生成时间：2011-12-07 00:18:59 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
	/// TB_Img:图片 实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public class Img
    {
        public Img()
		{}
        #region Model
        private Int32? _id;
        private string _colorid;
        private Int32? _userid;
        private string _title;
        private string _tag;
        private string _pic;
        private string _music;
        private string _content;
        private Int32? _hits;
        private Boolean? _ispass;
        private Int32? _lovenum;
        private Int32? _commentnum;
        private DateTime? _addtime;
        /// <summary>
		/// 主键
		/// </summary>
        [SqlField("ID",SqlDbType.Int,4)]
		public Int32? ID
		{
			set{ _id = value; }
			get{ return _id; }
		}
        /// <summary>
		/// 色系ID
		/// </summary>
        [SqlField("ColorID",SqlDbType.NVarChar,1000)]
		public string ColorID
		{
			set{ _colorid = value; }
			get{ return _colorid; }
		}
        /// <summary>
		/// 会员ID
		/// </summary>
        [SqlField("UserID",SqlDbType.Int,4)]
		public Int32? UserID
		{
			set{ _userid = value; }
			get{ return _userid; }
		}
        /// <summary>
		/// 标题
		/// </summary>
        [SqlField("Title",SqlDbType.NVarChar,200)]
		public string Title
		{
			set{ _title = value; }
			get{ return _title; }
		}
        /// <summary>
		/// Tag标签
		/// </summary>
        [SqlField("Tag",SqlDbType.NVarChar,200)]
		public string Tag
		{
			set{ _tag = value; }
			get{ return _tag; }
		}
        /// <summary>
		/// 图片地址
		/// </summary>
        [SqlField("Pic",SqlDbType.NVarChar,4000)]
		public string Pic
		{
			set{ _pic = value; }
			get{ return _pic; }
		}
        /// <summary>
		/// 音乐地址
		/// </summary>
        [SqlField("Music",SqlDbType.NVarChar,200)]
		public string Music
		{
			set{ _music = value; }
			get{ return _music; }
		}
        /// <summary>
		/// 内容
		/// </summary>
        [SqlField("Content",SqlDbType.NVarChar,4000)]
		public string Content
		{
			set{ _content = value; }
			get{ return _content; }
		}
        /// <summary>
		/// 浏览数
		/// </summary>
        [SqlField("Hits",SqlDbType.Int,4)]
		public Int32? Hits
		{
			set{ _hits = value; }
			get{ return _hits; }
		}
        /// <summary>
		/// 浏览数
		/// </summary>
        [SqlField("IsPass", SqlDbType.Bit, 1)]
        public Boolean? IsPass
		{
			set{ _ispass = value; }
            get { return _ispass; }
		}
        /// <summary>
		/// 喜欢数
		/// </summary>
        [SqlField("LoveNum",SqlDbType.Int,4)]
		public Int32? LoveNum
		{
			set{ _lovenum = value; }
			get{ return _lovenum; }
		}
        /// <summary>
		/// 评论数
		/// </summary>
        [SqlField("CommentNum",SqlDbType.Int,4)]
		public Int32? CommentNum
		{
			set{ _commentnum = value; }
			get{ return _commentnum; }
		}
        /// <summary>
		/// 添加时间
		/// </summary>
        [SqlField("AddTime",SqlDbType.DateTime,8)]
		public DateTime? AddTime
		{
			set{ _addtime = value; }
			get{ return _addtime; }
		}
        #endregion Model
    }
}